package com.wx.gof.principle.openandclose;

/**
 * @ClassName StudentInfo
 * @Author wx
 * @Description 学员信息类
 * @Date 2018-12-02-16:16
 */
public class StudentInfo implements IStudentInfo{
    private String name;
    private Integer age;
    private String  address;

    public StudentInfo(String name, Integer age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }

    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public Integer getAge() {
        return this.age;
    }

    @Override
    public String getAddress() {
        return this.address;
    }
}
